//
//  WifiInfo.m
//  gdemm
//
//  Created by 乔明超 on 16/10/31.
//  Copyright © 2016年 Goldencis. All rights reserved.
//

#import "WifiInfo.h"

@implementation WifiInfo
- (instancetype)initWithDictionary:(NSDictionary *)dict{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dict];
    }
    return self;
}

+ (instancetype)wifiInfoWithDictionary:(NSDictionary *)dict{
    return [[self alloc]initWithDictionary:dict];
}

+ (NSMutableArray *)wifiInfoWithArray:(NSArray *)array{

    NSMutableArray *arr = [NSMutableArray array];
    for (NSDictionary *dict in array) {
        [arr addObject:[self wifiInfoWithDictionary:dict]];
    }
    return arr;
}
@end
